package com.ruoyi.warning.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.warning.domain.entity.Event;
import com.ruoyi.warning.domain.query.EventQuery;
import com.ruoyi.warning.domain.vo.EventVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 告警模版表 Mapper 接口
 * </p>
 *
 * @author chenhc
 * @since 2025-02-20
 */
@Mapper
public interface EventMapper extends BaseMapper<Event> {

    void batchSave(List<Event> eventList);

    List<EventVO> getEventList(EventQuery query);
}
